﻿namespace SimpleAdmin.System;

/// <summary>
/// 代码生成基础
///</summary>
[SugarTable("game_record", TableDescription = "对战记录")]
[Tenant(SqlsugarConst.DB_Default)]
[CodeGen]
[BatchEdit]
public class GameRecord : DataEntityBase
{
    /// <summary>
    /// A队 人员1 Id
    /// </summary>
    public long? TeamAPerson1Id { get; set; }

    /// <summary>
    /// A队 人员1 姓名
    /// </summary>
    public string TeamAPerson1Name { get; set; }

    /// <summary>
    /// A队 人员2 Id
    /// </summary>
    public long? TeamAPerson2Id { get; set; }

    /// <summary>
    /// A队 人员2 姓名
    /// </summary>
    public string TeamAPerson2Name { get; set; }

    /// <summary>
    /// A队得分
    /// </summary>
    public int TeamAScore { get; set; }

    /// <summary>
    /// A队 人员1 Id
    /// </summary>
    public long? TeamBPerson1Id { get; set; }

    /// <summary>
    /// A队 人员1 姓名
    /// </summary>
    public string TeamBPerson1Name { get; set; }

    /// <summary>
    /// A队 人员2 Id
    /// </summary>
    public long? TeamBPerson2Id { get; set; }

    /// <summary>
    /// A队 人员2 姓名
    /// </summary>
    public string TeamBPerson2Name { get; set; }

    /// <summary>
    /// A队得分
    /// </summary>
    public int TeamBScore { get; set; }

    /// <summary>
    /// 裁判Id
    /// </summary>
    public int? UmpireId { get; set; }

    /// <summary>
    /// 裁判姓名
    /// </summary>
    public string UmpireName { get;set; }

}